<?php
class Macys_Api_V2_Catalog_Product extends Macys_Api_V2_Abstract {

	protected $prodid = array();


	protected function init() {

		$this->keyName = 'v2catalogproduct';
		$this->endPoint = '/v2/catalog/product';
		$this->method = 'GET';
		$this->allowedParams = array('prodid', 'upc', 'reviewPageNumber', 'storeid', 'reviewPageLimit');
	}

	public function getDisplayParams() {
		$arr = array();
		foreach ($this->allowedParams as $value) {
			if(isset($this->getparams[$value])) {
				$arr[$value] = $this->getparams[$value];
			}
			if(isset($this->postparams[$value])) {
				$arr[$value] = $this->postparams[$value];
			}
		}
		return $arr;
	}


	protected function processAdditionalInputParams($params) {
		foreach ($this->allowedParams as $value) {
			if(isset($params[$value])) {
				if(!empty($params[$value])) {
					$this->getparams[$value] = $params[$value];
				}
				unset($params[$value]);
			}
		}
	}
	
	
	public function getUpcs() {
		
	} 



}